package com.sn.core.util.pub.exception;

/**
 *
 * Created by qingshengzheng on 15/11/18.
 */
public enum DBExceptionEnums implements ExceptionEnums {
    SYSTEM__ERROR("10000","系统异常!"),
    SCORE_IS_LIMIT("10000","vip兑换积分不足!"),
    USER_NO_EXISTS("10001","用户不存在!"),
    USER_PASSWORD_ERROR("10002","用户名或密码错误")
    ;
    public String code;
    public String message;
    private  DBExceptionEnums(String code,String message)
    {
        this.code=code;
        this.message=message;
    }
    public String getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}
